package com.umakr.ax.common.mapper;

import com.baomidou.mybatisplus.plugins.Page;
import com.umakr.ax.common.model.RadioStationShow;
import com.umakr.ax.common.vo.RadioStationShowVO;
import com.umakr.ax.core.base.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * Mapper接口
 * </p>
 *
 * @author Umakr-Code-Generator
 * @since 2017-12-30
 */
public interface RadioStationShowMapper extends BaseMapper<RadioStationShow> {
    Map<String,Object> detail(@Param("id") Long id);

    Page<RadioStationShowVO> load(@Param("cityCode") String cityCode );

    Page<RadioStationShowVO> loadSelf(@Param("userId") Long userId);

    List<RadioStationShowVO> listRecommendRadioStationShow(@Param("rsId") Long rsId);

    void  updateRadioStationShow(RadioStationShow radioStationShow);

    void  insertRadioStationShow(RadioStationShow radioStationShow);

    Page<RadioStationShowVO> listRadioStationShow(@Param("rsId") Long rsId);
}